//
//  SMPermission.h
//  ShopingMall
//
//  Created by xinqiao on 2016/12/30.
//  Copyright © 2016年 Jon_G. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SMPermission : NSObject

/**
 *  role:创建属性
 **/
@property (nonatomic ,strong) NSUserDefaults *userDefault;
/**
 *  role:初始化
 **/
- (NSUserDefaults *)userDefault;
/**
 *  role:类方法
 **/
+ (NSUserDefaults *)getUserDefault;
/**
 *  role:记录user_id
 **/
+ (void)setUser_id:(id)userId;
+ (id)getUser_id;
/**
 *  role:记录uniquestr
 **/
+ (void)setUniquestr:(id)uniquestr;
+ (id)getUniquestr;
/**
 *  role:记录userinfostr
 **/
+ (void)setUserinfostr:(id)userinfostr;
+ (id)getUserinfostr;
/**
 *  role:记录user_phone
 **/
+ (void)setUser_phone:(id)user_phone;
+ (id)getUser_phone;
/**
 *  role:记录user_phone
 **/
+ (void)setPHPSESSID:(id)PhpSessid;
+ (id)getPHPSESSID;
/**
 *  role:记录登录状态login
 **/
+ (void)setLoginBool:(BOOL)isBool;
+ (BOOL)getLoginBool;
/**
 *  role:记录LoginName
 **/
+ (void)setLoginName:(id)user_name;
+ (id)getLoginName;
/**
 *  role:记录User_pass
 **/
+ (void)setUser_Pass:(id)user_pass;
+ (id)getUser_Pass;
@end
